package cc.comac.mom.controller.config;

import cc.comac.mom.api.config.EquipConnectConfigService;
import cc.comac.mom.api.config.EquipConnectParamService;
import cc.comac.mom.bean.config.EquipConnectConfigParamBean;
import cc.comac.mom.entity.config.EquipConnectConfigEntity;
import cc.comac.mom.util.ResultBean;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping(value ="/EquipConnectParam")
public class EquipConnectParamController {
	@Autowired
	private EquipConnectParamService equipConnectParamService;


	@ApiOperation("设备连接配置查询")
	@RequestMapping(value = "/selectByParamKey",method = RequestMethod.GET)
	public ResultBean selectByCondition(@RequestParam(value = "paramKey") String paramKey) {
		return equipConnectParamService.selectByParamKey(paramKey);
	}


}
